#ifndef __GL__I420__RENDERER__H__
#define __GL__I420__RENDERER__H__

#include "GLRenderer.h"

namespace simple_renderer {

class GLI420Renderer : public GLRenderer{

public:
    GLI420Renderer();
    virtual ~GLI420Renderer();

    virtual const char *GetFragmentShader() override;
    virtual int UseProgram() override;
    virtual int UploadTexture(const PicFrame &pic_frame) override;

protected:
    virtual int InitExtend() override;
};

}
#endif